package com.egao.common.module.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.core.web.PageResult;
import com.egao.common.module.student.entity.StudentBasic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学校基层接口Mapper
 * @author lsh
 */
public interface StudentBasicMapper extends BaseMapper<StudentBasic> {

    /**
     * 学校基层列表
     * @param page
     * @return
     */
    List<StudentBasic> listPage(@Param("page") PageParam<StudentBasic> page);

    /**
     * 校基层详情
     * @param id
     * @return
     */
    StudentBasic BasicDetailSchool(@Param("id") Integer id);

}
